﻿package classes.events
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author ...
	 */
	public class CraftMoveEvent extends Event 
	{
		public static const MOVE = 'move';
		
		private var spdX:Number;
		private var spdY:Number;
		
		public function CraftMoveEvent (type:String,  spdX:Number,  spdY:Number, bubbles:Boolean=false, cancelable:Boolean = false) 
		{
         super(type, bubbles, cancelable);
         this.spdX = spdX;
		 this.spdY = spdY;
        }
		public function getSpdX():Number 
		{
			return this.spdX;
		}
		
		public function getSpdY():Number 
		{
			return this.spdY;
		}
	}
	
}